import { SET_ORDER_LIST } from './action_types';

const defaultState = {
  orderListData: []
};

const reducers = (state = defaultState, actions = {}) => {
  const { type, orderListData } = actions;
  switch (type) {
    case SET_ORDER_LIST:
      return { orderListData };
    default:
      return state;
  }
};
export default reducers;
